//
//  PiPiPineappleTests.m
//  PiPiPineappleTests
//
//  Created by 李晓东 on 17/11/2.
//  Copyright © 2017年 PeanutXu. All rights reserved.
//

#import <XCTest/XCTest.h>
#import "Tools.h"
#import "SQLiteManager.h"
#import "DoubleChromosphere.h"
#import "NSDate+Category.h"
@interface PiPiPineappleTests : XCTestCase
@property (nonatomic, strong) SQLiteManager *sqliteManager;
@end

@implementation PiPiPineappleTests

- (void)setUp {
    [super setUp];
    // Put setup code here. This method is called before the invocation of each test method in the class.
    self.sqliteManager = [[SQLiteManager share]init];
}

- (void)tearDown {
    // Put teardown code here. This method is called after the invocation of each test method in the class.
    self.sqliteManager = nil;
    [super tearDown];
}

- (void)testExample {
    // This is an example of a functional test case.
    // Use XCTAssert and related functions to verify your tests produce the correct results.
//    [[SQLiteManager share]queryDataInTable:@"T_DoubleChromosphere" andOrderBy:@"expect" withParameter:@"expect" andValue:@" (\'20171122\', \'2017113\' ,\' 2017114\' ) " andOperate:@"in"];
    NSInteger test = [[Tools shareTools]checkIfLargeThan33:47];
    NSLog(@"djdjd %ld", test);
}

- (void)testPerformanceExample {
    // This is an example of a performance test case.
    [self measureBlock:^{
        // Put the code you want to measure the time of here.
    }];
}

@end

//NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:@"01",@"redA",@"02", @"redB",@"03", @"redC",@"04", @"redD",@"05", @"redE",@"06", @"redF",@"16", @"blue",@"01,02,03,04,05,06,16", @"opencode" ,@"2014127", @"expect",@"2014-10-29", @"opentime", nil];
//DoubleChromosphere *obj = [DoubleChromosphere doubleChromosphere:dict];
//
//
//
////    NSDictionary *dict = [NSDictionary dictionaryWithObjectsAndKeys:@"01",@"redA",@"02", @"redB",@"03", @"redC",@"04", @"redD",@"05", @"redE",@"06", @"redF",@"16", @"blue",@"01,02,03,04,05,06,16", @"opencode" ,@"2014127", @"expect",@"2014-10-29", @"opentime", nil];
//[self.sqliteManager insertDataOfArray:@[obj] orDictionary:nil inTable:@"T_DoubleChromosphere"];
